class AddDateForeignkeys < ActiveRecord::Migration
  def self.up

    add_foreign_key(:edition_dates, :editions, :column => :edition_id)
    add_foreign_key(:edition_dates, :full_dates, :column => :full_date_id)
    add_foreign_key(:edition_dates, :locations, :column => :location_id)
    add_foreign_key(:label_dates, :labels, :column => :label_id)
    add_foreign_key(:label_dates, :full_dates, :column => :full_date_id)

  end

  def self.down
  end
end
